<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="../hc.js"></script>
<title>String . prototype . jsonQS$()</title>
</head>

<body>
bomtype%3Dsmpl%26page%3D1%26cus%3D%26psdno%3D%26sty%255B%255D%3D%253D%26grp%255B%255D%3D
<br />
bomtype%3Dsmpl%26page%3D1%26cus%3D%26psdno%3D08-0427%26sty%3D%252528b08-w%26grp%3D
<div id="a"></div>
<div id="b"></div>
<div id="c"></div>
<div id="d"></div>
<div id="e1"></div>
<div id="e2"></div>
<div id="f"></div>
</body>
<script type="text/javascript">
function qry$(s){
	var a=s.match(/([^&]*?)\=([^&]*)/ig);
	var o={};
	for(z=0;z<a.length;z++){
		var v=a[z].split('=');
		o[v[0]]=v[1];
	}
return o;
}
var qry1=duc$("bomtype%3Dsmpl%26page%3D1%26cus%3D%26psdno%3D08-03%26sty%3D%2528%2529%26grp%3D");
var qry2="type=bom&page=1&cus=&pno=&sty[]=&sty[]=re&sty[]=33&grp[]=";
var qrys=qry1.match(/([^&]*?)\=([^&]*)/ig);
var qry3="type=bom&page=1&cus=&pno=&sty=5&sty=re&sty=33&grp[]=";
$('a').innerHTML='a<br />'+ qry1;
$('b').innerHTML='b<br />'+ strJSON$(qrys);
$('c').innerHTML='c<br />'+ qrys.toString();
$('d').innerHTML='d<br />'+ strJSON$(qry$(qry1));
$('e1').innerHTML='e1<br />'+ strJSON$(qry1.jsonQS$());
$('e2').innerHTML='e2<br />'+ strJSON$(qry2.jsonQS$());
$('f').innerHTML='f<br />'+ strJSON$(qry3.jsonQS$());
alert(uriO$({}));
</script>
</html>
